package com.dc.service;

import com.dc.model.Shoes;
import com.dc.vo.BaseModel;

public interface ShoesService {
//    分页查询商品信息
    BaseModel selectPageShoes(Integer curr_page,Integer page_size,BaseModel baseModel) throws Exception;
//    新增商品
    BaseModel addShoes(Shoes shoes,BaseModel baseModel) throws Exception;
//    删除商品信息
    BaseModel deletedShoes(String ids,BaseModel baseModel) throws Exception;
//    根据id查询商品信息
    BaseModel selectShoesById(int id,BaseModel baseModel) throws Exception;
//    根据商品名称查询商品信息
    BaseModel selectShoesByName(String name,Integer curr_page,Integer page_size,BaseModel baseModel) throws Exception;
//    根据id修改商品信息
    BaseModel updateShoes(Shoes shoes,BaseModel baseModel) throws Exception;
//    根据分类查询商品
    BaseModel selectShoesByCategory(int category_id,Integer curr_page,Integer page_size,BaseModel baseModel) throws Exception;
//    修改图片信息
    BaseModel updateShoesImg(Shoes shoes,BaseModel baseModel) throws Exception;

}
